/************************************************************************

								Heroes IV
					  Copyright 2000, The 3DO Company

	------------------------------------------------------------------
  						 delay_effect.cpp

	$Header: /heroes4/delay_effect.cpp $

	$NoKeywords: $

 ************************************************************************/

#include "precompiled.h"
#include "delay_effect.h"

// ----------------------------------------------------------------
// execute an action when a spell animation ends
// ----------------------------------------------------------------
t_delay_effect::t_delay_effect( t_delayed_effect* effect )
              : m_effect( effect )
{
}

void t_delay_effect::operator ()( t_window * window )
{
	m_effect->execute( window );
}

